net/http.headerSorter.kvs (field)
6 uses
net/http (current package)
header.go#L157: kvs []keyValues
header.go#L169: if cap(hs.kvs) < len(h) {
header.go#L170: hs.kvs = make([]keyValues, 0, len(h))
header.go#L172: kvs = hs.kvs[:0]
header.go#L178: hs.kvs = kvs
header.go#L179: slices.SortFunc(hs.kvs, func(a, b keyValues) int { return strings.Compare(a.key, b.key) })
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |